package cellGame.scene
{
	import cellGame.common.Common;
	import cellGame.scene.unit.Cell;
	
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	
	public class GameScene extends Sprite
	{
		private var _player:Cell;
		
		public function GameScene()
		{
			_player = new Cell();
			_player.move(200,200);
			
			addChild(_player);
			
			Common.stage.addEventListener(MouseEvent.CLICK, onStageClick);
		}
		
		private function onStageClick(e:MouseEvent):void
		{
			_player.move(mouseX,mouseY);
		}
		//
	}
}